package t;

public class test2 {
    public static void main(String[] args) {
        String str="newwordsjojeaofj";
        System.out.println(str.substring(str.length()-1,str.length()));
        String str2="code='0000000001'";
        System.out.println(str2.substring(6, str2.length() - 1));
    }
}
